package com.zsrt.java.day20161222.hzj;
/**
 * 
 * 类的注释
 *
 */
public class VariableDemo {

	/**
	 * 方法的注释
	 */
	public static void main(String[] args) {
        
		//byte money01 = 128;
		byte money01=127;
		System.out.println(money01);
		System.out.println("byte="+Byte.MAX_VALUE);
		
		int money02=2147483647;
		System.out.println(money02);
		System.out.println("int="+Integer.MAX_VALUE);
		
		//CHAR最大值数字，两个字节
		char a =65535;
		//65535对应的unciode表为空字符，打印一个空字符
		
		System.out.println("a="+a);
		System.out.println("char="+(int)Character.MAX_VALUE);
		System.out.println("short="+Short.MAX_VALUE);
		System.out.println("long="+Long.MAX_VALUE);
		
		
		
	}
}
